package com.jianzong.lingxuan.rabbitmq;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.amqp.core.Queue;


/**
 * @auth Leiwenlong
 * @since 2021/11/6
 * rabbitMQ队列配置
 */
@Configuration
public class RabbitMQConfiguration {

    @Bean
    public Queue queue() {
        return new Queue("testQuery");
    }
}
